package com.zkthink.ceres.executor.jobhandler.pay;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.JobHandler;
import com.zkthink.ceres.pay.service.WxPayAuthService;
import com.zkthink.ceres.store.service.StoreDailyStatisticService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by kellen on 2020/5/31.
 */
@JobHandler(value = "wxPayAuthCheckStatusJobHandler")
@Component
@Slf4j
public class WxPayAuthCheckStatusJobHandler extends IJobHandler {

  @Autowired
  private WxPayAuthService wxPayAuthService;



  @Override
  public ReturnT<String> execute2(String param) {
    wxPayAuthService.checkApplyStatus();
    return ReturnT.SUCCESS;
  }
}
